package com.wgts.wgts.mvp.model.imp;

import com.wgts.wgts.mvp.model.IMoreMoreAffirmOrderActivityModel;
import com.wgts.wgts.netmodle.HttpResultSubscriber;
import com.wgts.wgts.netmodle.NetService;
import com.wgts.wgts.netmodle.resp.AwardWinner;
import com.wgts.wgts.netmodle.resp.CurrentEntity;

public class MoreMoreAffirmOrderActivityModel implements IMoreMoreAffirmOrderActivityModel {

    private NetService netService;

    public MoreMoreAffirmOrderActivityModel(NetService netService) {
        this.netService = netService;
    }


    @Override
    public void awardWinner(Integer winId, HttpResultSubscriber<AwardWinner> subscriber) {
        netService.awardWinner(winId, subscriber);
    }

    @Override
    public void awardEnsure(Integer winId, String addressId, HttpResultSubscriber<CurrentEntity> subscriber) {
        netService.awardEnsure(winId, addressId, subscriber);
    }
}
